home *** CD-ROM | disk | FTP | other *** search
-
- #import <misckit/misckit.h>
- #import <misckit/MiscSwapView.h>
-
- #import "DefaultWoodInspector.h"
-
- @implementation DefaultWoodInspector
-
- - addWrappedControllers
- {
- id aController;
- id matrixList;
- int i;
-
- swapView = [manager swapView];
- if( !controllers )
- {
- controllers = [List new];
- matrixList = [matrix cellList];
- for( i=0; i<[matrixList count]; i++ )
- {
- aController = [self copy];
- [aController setTrigger:[matrixList objectAt:i]];
- [controllers addObject:aController];
- }
- }
-
- for( i=0; i<[controllers count]; i++ )
- [swapView addController:[controllers objectAt:i]];
-
- return self;
- }
-
-
- @end
-
-